<?php
/**
 * Author Yulin
 * Email  dwzhanglong@126.com
 * Date   2017-7-21
 * Func   彩票页面
 */
defined('IN_YuLin') || exit('NO PERMIT!');
include_once (ROOT_PATH.'module/wap/public/public_load.inc.php');
$seo['title'] = '大众彩票-主页';
$pageTitle    = '';
$navTag       = 'index';
// 获取公告信息（c_id = 1 为网站公告
$noticsTab    = Table('article');
$noticsWhere  = ' WHERE cid = 1 LIMIT 1';
$sql          = 'SELECT id, title FROM ' . $noticsTab . $noticsWhere;
$noticsInfo   = $db->getrow($sql);
$lottList     = array_slice($lottList, 0, 11);
$tpl->display('index/index');